package com.xd.core.finance.mapper;

import com.github.pagehelper.Page;
import com.xd.core.finance.dto.ConsumeDetailQuery;
import com.xd.core.finance.entity.ConsumeDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 服务费消耗明细 Mapper 接口
 * </p>
 *
 * @author ZX
 * @since 2025-03-18
 */
public interface ConsumeDetailMapper extends BaseMapper<ConsumeDetail> {

    List<ConsumeDetail> getList(@Param("query") ConsumeDetailQuery query,
                                @Param("companyId") Integer companyId,
                                @Param("companyType") String companyType);
}
